@import "common";

.bg-blue{background-color: @bg-blue;}
.content{width: @cont-width;margin: 0 auto;}
.c-title{width:100%; height:120px; background:url("/src/img/title-bg.png") no-repeat center center; line-height:120px; color:#fff;
  span{display: block; width:1140px; margin:0 auto; font-size:36px; font-weight:bold;
    &:before{content:""; display:inline-block; width:8px; height:35px; background:#62dfaf; margin-right:30px; vertical-align:-6px;}
  }
}
//首页
.home{

  min-height: 500px;
  .img-show{width: 100%;height: 400px;background: url("/src/img/home-img1.jpg") no-repeat center center;}
  .row{width: 100%;clear: both;}
  h2{text-align: center;padding:20px 0 38px;img{display: inline-block;}}
  .introduct{
    padding-bottom: 50px;
    .cont{display: table;width: 100%;
      & > div{display: table-cell;vertical-align: middle;}
      .left{width: 660px;line-height: 30px;
        a{color: #146de6;}
      }
      .right{text-align: right;img{width: 443px;}}
    }
    .btn{display: block;width: 180px;height: 40px;line-height: 40px;border: 1px solid #2fa0b6;text-align: center;color: #2fa0b6;cursor: pointer;margin: 24px auto 0;}
  }
  .time{
    background: url("/src/img/home-bgimg-2.png") no-repeat top center;
    .content{padding-bottom: 60px;}
    ul{
      overflow: hidden;padding-bottom: 30px;
      li{float: left;padding-left: 20px;width: 33.33%;height: 57px;box-sizing: border-box;border-left: 5px solid #2fa0b6;margin-bottom: 57px;}
      .dt{color: #2fa0b6;font-size: 24px;line-height: 24px;}
      .dd{font-size: 16px;margin-top: 12px;}
    }
    .explain{color: #ca5520;text-align: center;}
  }

  .prize{
    .content{padding-bottom: 88px;}
    .explain{font-size: 16px;text-align: center;}
    ul{
      margin-top: 50px;overflow: hidden;
      li{float: left;margin-left: 84px;width: 220px;height: 220px;box-sizing: border-box;border-radius: 100%;border: 2px solid #2fa0b6;text-align: center;
        &:first-child{margin-left: 0;}
        .dt{font-size: 36px;color: #2fa0b6;margin-top: 60px;line-height: 40px;}
        .dd{font-size: 20px;line-height: 30px;margin-top: 18px;}
      }
    }
  }

  .dynamic{
    background: url("/src/img/home-tit4-bg.jpg") repeat-y center top;
    .content{padding-bottom: 100px;}
    .cont{
      height: 300px;padding: 40px;background-color: #fff;
      .img{display: block;height: 100%;width: 470px;float: left;background:  no-repeat center center / cover;position: relative;
        i {position: absolute;text-align: justify;line-height: 24px;color: #fff;font-size: 16px;padding: 5px 20px;bottom: 0;left: 0;right: 0;overflow: hidden;font-style: normal;background: url('/src/img/icon-img-bg.png') center / cover;}
      }
      ul {
        width: 535px;float: right;
        li{
          padding: 17px 0;border-bottom: 1px dashed #d1d1d1;
          &:first-child{padding-top: 0;}
          .pic{float: left;width: 94px;height: 70px;background:  no-repeat center center / cover;}
          .dt{display: block;margin-left: 120px;line-height: 24px;font-size: 18px;height: 50px;overflow: hidden;}
          .dd{margin-left: 120px;color: #999;height: 20px;font-size: 16px;line-height: 20px;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
        }
      }
    }
  }

  .works{
    .content{padding-bottom: 100px;}
    .lists{overflow: hidden;
      a{
        float: left;width: 210px;margin-left: 22px;
        &:first-child{margin-left: 1px;}
        .img{width: 100%;height: 150px;background:  no-repeat center center / cover;}
        .txt{padding: 10px 0;line-height: 24px;font-size: 15px;text-align: center;}
        .odd{margin-top: 50px;}
      }
    }
  }
}

//新闻动态
.news{
  .left{
    ul {
      width: 100%;float: right;
      li{
        padding: 17px 0;border-bottom: 1px dashed #d1d1d1;
        &:first-child{padding-top: 0;}
        .pic{float: left;width: 94px;height: 70px;background:  no-repeat center center / cover;}
        .dt{display: block;margin-left: 120px;line-height: 24px;font-size: 18px;height: 30px;overflow: hidden;}
        .dd{margin-left: 120px;color: #999;height: 40px;font-size: 14px;line-height: 20px;overflow:hidden;}
      }
    }
    .more-new-btn{clear: both;margin:20px auto;width:150px;height:40px;display:none;border:0;border-radius:4px;background-color:#2063a2;line-height:40px;text-align:center;cursor:pointer;color:#fff;font-size:16px}
  }
}

//简介页
.c-content{
  .center{width:1140px; margin:0 auto 0; overflow:hidden;
    .left{
      min-height:700px;line-height:30px; padding-top:45px; float:left; width:789px; padding-right:49px; border-right:1px #ddd solid; padding-bottom:100px;
      em{font-style:normal; color:#2063a2; font-size:24px;}
      p,ul{margin-bottom:35px;}
      .noTit{font-size: 36px;text-align: center;padding-top: 100px;}
    }
    .contact{line-height:48px;}
  }

  .rule{float:left; font-size:12px; line-height:22px; width:300px; padding-top:45px;
    .title{font-size:16px; margin-bottom:20px;
      &:before{content:""; display:inline-block; width:5px; height:20px; background:#62dfaf; margin-right:20px; vertical-align:-5px;}
    }
    .area{margin-left:25px;margin-bottom: 40px;}
    .items{border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;margin-bottom: 35px;
      li{
        border-top: 1px solid #ccc;height: 60px;color: #333;font-size: 16px;display: table;width: 100%;position: relative;cursor: pointer;
        &.active{
          color: #fff;
          &:before{content: '';position: absolute;top: -1px;left: -22px;bottom: -1px;right: -1px;background: url("/src/img/btn-big-bg.png") no-repeat;background-size: 100%;}
        }
        span{display: table-cell;height: 100%;vertical-align: middle;padding: 0 80px 0 25px;position: relative;}
      }
    }
  }
}

//参赛作品
.c-works{
  .center{
    .left{
      padding-top: 24px;
      .hint{color: #ff6600;font-size: 16px;}
      .lists{overflow: hidden;margin-left: -80px;margin-top: 24px;
        li{width: 320px;float: left;margin-left: 80px;margin-bottom: 50px;border: 1px solid #ccc;
          .img{width: 100%;height: 228px;background: #eee no-repeat center center / cover;cursor: pointer;}
          .info{padding: 10px 20px 18px;overflow: hidden;position: relative;
            .vote{position: absolute;top: 5px;right: 20px;height:24px;font-size: 14px;line-height: 24px;padding: 0 8px;border-radius:4px;cursor: pointer;color: #fff;background: url("/src/img/btn-bg.jpg") top left /contain repeat-y;}
            .text{line-height: 24px;font-size: 12px;color: #333;text-align: center;margin-bottom: 8px;
              span{font-size: 14px;}
              b{font-size: 16px;color: #2061a1;font-weight: normal;}
              p{margin: 0;line-height: 20px;height: 40px;overflow: hidden;}
            }
            .num{float: left;line-height: 26px;font-size: 18px;color: #333;
              i{font-size: 30px;color: #ff6600;font-style: normal;}
            }
            .btn{cursor: pointer;float: right;height: 26px;border: none;padding: 0 10px;border-radius: 4px;font-size: 16px;color: #fff;margin-top: 2px;background: url("/src/img/btn-bg.jpg") top left /contain repeat-y;}
          }
        }
      }
    }
  }
}

//作品详情
.c-detail{
  .center{
      min-height: 700px;padding-top: 30px;padding-bottom: 100px;
      .tit{font-size: 30px;text-align: center;
        b{font-weight: normal;color: #2061a1}
      }
      .explain{margin-top: 20px;text-align: center;font-size: 18px;}
      .imgs{
        margin-top: 40px;text-align: center;
        .img{
          margin-bottom: 20px;
          img{display: inline-block;max-width: 700px;height: auto;}
        }
      }
  }
  .btn-footer{
    position: fixed;background-color: #fff;width: 1140px;left: 50%;margin-left: -570px;bottom: 0;height: 80px;border: 1px solid #ccc;border-bottom: none;box-sizing: border-box;padding: 15px 50px;
    .num{float: left;line-height: 50px;font-size: 18px;
      span{font-size: 36px;color: #ff6600;}
    }
    .btn{float: right;height: 50px;border: none;background: url("/src/img/btn-bg.jpg") top left /contain repeat-y;border-radius: 30px;padding: 0 45px;color: #fff;font-size: 24px;cursor: pointer;}
  }
}

//图片验证码
.img-verity-box{
  .cover-bg{position: fixed;top: 0;left: 0;right: 0;bottom: 0;background-color: rgba(0,0,0,0.8);z-index: 100;}
  .cover-cont{
    position: fixed;width: 300px;height: 180px;background-color: #fff;border-radius: 4px;left: 50%;top: 50%;margin-left: -150px;margin-top: -90px;z-index: 101;box-sizing: border-box;
    padding: 50px 40px;
    img{float: left;height: 30px;}
    input{float: right;height: 28px;padding: 0 5px;border-radius: 2px;background-color: #fff;border:1px solid #ccc;width: 120px;}
    .confim{display: block;clear: both;cursor: pointer;margin: 60px auto 0;height: 30px;padding: 0 30px;color: #fff;background: url("/src/img/btn-bg.jpg") top left /contain repeat-y;border: none;border-radius: 4px;}
    .close{width: 30px;height: 30px;position: absolute;top: 0;right: 0;cursor: pointer;font-size: 24px;border: none;background: none;}
  }
}
